package com.googlecode.continuity.core.client.rpc;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * GroupRPCAsync is the asynchronous implementation interface of the {@link com.googlecode.continuity.core.client.rpc.GroupRPC}.
 *
 * @author Peter Schmitt <aragos@aragos.de>
 * @see com.googlecode.continuity.core.client.rpc.GroupRPC
 */
public interface GroupRPCAsync {
  /**
   * Retrieves the number of groups known to the system.
   *
   * @param async asynchronous callback
   */
  void getGroupCount(AsyncCallback async);
}
